
import { get, post ,deletes, put} from './http'
// 获取 学生 list
export const getList = (params) => get(`/students/`,params)
// 根据 id 删除学生
export const deleteStudent = (id) => deletes(`/students/`+id)
// 新增学生
export const addStudent = (params) => post(`/students/`, params)
// 根据 id 查询学生
export const getInfo = (id) => get(`/students/`+id)
// 修改学生信息
export const editStudent = (id,params) => put(`/students/`+id,params)
// 修改学生状态
export const isEnableStudent = (id,params) => put(`/students/status/`+id,params)


